package com.jn.okhttp.entity;

import com.google.gson.annotations.SerializedName;

public class TranslateResponse {
    @SerializedName("code")
    private int code;

    @SerializedName("result")
    private Result result;

    @SerializedName("msg")
    private String message;

    public int getCode() {
        return code;
    }

    public Result getResult() {
        return result;
    }

    public String getMessage() {
        return message;
    }

    public static class Result {
        @SerializedName("sourceText")
        private String sourceText;

        @SerializedName("targetText")
        private String targetText;

        @SerializedName("source")
        private String source;

        @SerializedName("target")
        private String target;

        public String getSourceText() {
            return sourceText;
        }

        public String getTargetText() {
            return targetText;
        }

        public String getSource() {
            return source;
        }

        public String getTarget() {
            return target;
        }
    }
}